package com.aaa.mapper;

import com.aaa.pojo.Menu;

import java.util.List;

public interface MenuMapper {
    /**
     *
     * @param id
     * @return
     */
    int deleteByPrimaryKey(Integer id);

    /**
     *
     * @param record
     * @return
     */

    int insertSelective(Menu record);

    /**
     *
     * @param id
     * @return
     */
    Menu selectByPrimaryKey(Integer id);

    /**
     *
     * @return
     */
    List<Menu> selectAll();
    /**
     *
     * @param record
     * @return
     */
    int updateByPrimaryKeySelective(Menu record);

}